package com.shelpe.services.sinbad.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shelpe.services.sinbad.model.CampaignidAndKeywordids;
import com.shelpe.services.sinbad.model.Keyword;
import com.shelpe.services.sinbad.model.KeywordExample;

public interface WriteKeywordMapper {
	int countByExample(KeywordExample example);

	int deleteByExample(KeywordExample example);

	int deleteByPrimaryKey(Long keywordId);

	int insert(Keyword record);

	int insertSelective(Keyword record);

	List<Keyword> selectByExample(KeywordExample example);

	Keyword selectByPrimaryKey(Long keywordId);

	int updateByExampleSelective(@Param("record") Keyword record, @Param("example") KeywordExample example);

	int updateByExample(@Param("record") Keyword record, @Param("example") KeywordExample example);

	int updateByPrimaryKeySelective(Keyword record);

	int updateByPrimaryKey(Keyword record);

	List<CampaignidAndKeywordids> selectCampaignidAndKeywordidsByExample(KeywordExample example);
}
